import {
  axios
} from '@/utils/request'

const api = {
  getTabbar: '/saas-tabbar/get',
  setTabbar: '/saas-tabbar/set'
}

export default api

export function getTabbar (parameter) {
  return axios({
    url: api.getTabbar,
    method: 'get',
    params: parameter
  })
}

export function setTabbar (parameter) {
  return axios({
    url: api.setTabbar,
    method: 'post',
    data: parameter
  })
}
